package java8_24.oop.Test_3;

public class Mouse extends Animal {
    public double physical;
    public Mouse(String name, double weight) {
        super(name, weight);
    }

    public double getPhysical() {
        return physical;
    }

    public void setPhysical(double physical) {
        this.physical = physical;
    }
    public void show(){
        System.out.println(getName()+"体重是"+getWeight()+"kg,体力是"+physical);
    }
}
